package com.demo.service.impl;

import com.demo.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author shenguangyang
 */
@Service
public class UserServiceImpl implements IUserService {
    @Resource
    private OrderServiceImpl orderService;


    @Override
    public void test01() {
        System.out.println(IUserService.class.getSimpleName() + " test01");
        // throw new RuntimeException("发生异常");
    }

    @Override
    public void test02() {
        System.out.println(IUserService.class.getSimpleName() + " test02");
    }
}
